import service from '@/api/shumei.js'

export function uploadExcelData(params) {
  return service({
    url:'/media/importData',
    method:'POST',
    data:params,
  })
}

export function getDataList(params) {
  return service({
    url:'/media/getDataList',
    method:'POST',
    data:params,
  })
}

export function updateData(params) {
  return service({
    url:'/media/updateData',
    method:'POST',
    data:params,
  })
}

export function deleteData(params) {
  return service({
    url:'/media/deleteData',
    method:'POST',
    data:params,
  })
}

export function clearData(params) {
  return service({
    url:'/media/clearData',
    method:'POST',
    data:params,
  })
}

export function getNames(params) {
  return service({
    url:'/media/getNames',
    method:'POST',
    data:params,
  })
}

